]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
polkitAgent: Fix ReferenceError exception
authorCarlos Garnacho <carlosg@gnome.org>
Sun, 16 Jul 2017 19:24:30 +0000 (21:24 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Sun, 16 Jul 2017 19:28:22 +0000 (21:28 +0200)
Introduced in commit 593b4318a. The "message" variable was renamed
everywhere, except where it's defined.

js/ui/components/polkitAgent.js

index 9ab843323dd8abdd7183a05a1806169ab4cbb3b9..cfa5355049d7acabc07946a95fc6a3769dc67b69 100644 (file)
@@ -31,7 +31,7 @@ const AuthenticationDialog = new Lang.Class({
     Name: 'AuthenticationDialog',
     Extends: ModalDialog.ModalDialog,
 
-    _init: function(actionId, message, cookie, userNames) {
+    _init: function(actionId, body, cookie, userNames) {
         this.parent({ styleClass: 'prompt-dialog' });
 
         this.actionId = actionId;